package com.ruoyi.auth.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.SysUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "ruoyi-system", path = "/user")
public interface IuUserService {
    @PostMapping("/getLoginCode/{username}")
    public R<Integer> getLoginCode(@PathVariable("username") String username);
}
